package com.mes.cloud.api.dto.request.area;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * @description 产品分销策略
 * @author dongyi
 * @date 2019-08-21 17:08
 **/
@Data
public class BindSaleStrategyRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域ID", required = true)
    @NotEmpty(message = "areaId不能为空")
    private String areaId;

    @ApiModelProperty(value = "产品ID", required = true)
    @NotEmpty(message = "productId不能为空")
    private String productId;

    @ApiModelProperty(value = "渠道ID", required = true)
    @NotEmpty(message = "channelId不能为空")
    private String channelId;

    @ApiModelProperty(value = "门店等级", required = true)
    @NotEmpty(message = "storeGrade不能为空")
    private String storeGrade;

    @ApiModelProperty(value = "分销策略", required = true)
    @NotEmpty(message = "saleStrategy不能为空")
    private String saleStrategy;
}
